/**
 * All rights reserved by www.xandroid.cn
 */
package xfok.net.xandroid.examples;

import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

/**
 * @author YangHua
 *  转载请注明出处：http://www.xfok.net/android/201005/11.html
 * 2010-5-20 www.xandroid.cn 
 */
public class List extends ListActivity {
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setListAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, mStrings));
        getListView().setTextFilterEnabled(true);
    }

    private String[] mStrings = {
            "Item1", "Item2", "Item3", "Item4", "Item5","Item6"};
}
